import React from 'react';
import SearchInput from '../../../components/SearchInput';
import './style.less';

export default ({onClickIcon, onSearch}) => {
  return (
    <div className="search-header">
      <i onClick={onClickIcon}>返回</i>
      <section>
        <SearchInput onSearch={onSearch}/>
      </section>
    </div>
  )
}